

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<f:view>
    <html>
    <jsp:useBean id="nav" class="org.testfire.realm.control.NavBean"/>

    <script type="text/javascript" src="${nav.href_js_displayTools}"></script>
    <script type="text/javascript">
    </script>
    <head>

        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>Your Successful Registration Title</title>
        <link rel=stylesheet href="${nav.href_css_basic}" type="text/css">
        <jsp:useBean id="UserBean" class="org.testfire.realm.control.user.UserBean"/>
    </head>
    <body>
    <div id="masthead">
        <h1 id="siteName">Your Successful Registration Title </h1>
        <c:if test="${pageContext.request.userPrincipal.name != null}"><span
                style="float:right ">Logged In: ${pageContext.request.userPrincipal.name}</span></c:if>
        <div id="globalNav">
            <h:form>
                <a id="href_home" href="${nav.href_home}">Home</a> |
                <c:choose>
                    <c:when test="${pageContext.request.userPrincipal.name != null}">
                        <h:commandLink id="logout" action="nav_logout" actionListener="#{UserBean.userLogout}">
                            <h:outputText value="Log Out |"/>
                        </h:commandLink>

                    </c:when>
                    <c:otherwise>
                        <a id="href_account" href="${nav.href_account}">Log In</a> |
                    </c:otherwise>
                </c:choose>
            </h:form>
        </div>


        <h2 id="pageName">Welcome! Thank you for registering.</h2>

        <p>
            Your e-mail confirmation has been sent to the address you provided. Please follow the link in
            the e-mail to confirm your account.
        </p>

        <div id="breadCrumb">
        </div>
    </div>
    <!-- end masthead -->

    </body>

    </html>
</f:view>